<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<HEAD>
    <meta name="GENERATOR" content="SmartSQL.exe by zfluok">
</HEAD>
<BODY>
<OBJECT type="text/site properties">
    <param name="ExWindow Styles" value="0x200">
    <param name="Window Styles" value="0x800025">
    <param name="Font" value="MS Sans Serif,9,0">
</OBJECT>
    <UL>
        <LI>
            <OBJECT type="text/sitemap">
                <param name="Name" value="数据库目录">
                <param name="Local" value="数据库目录.html">
                <param name="ImageNumber" value="11">
            </OBJECT>
        </LI>
        @if (Model.Tables != null && Model.Tables.Count > 0)
        {
            foreach (var tab in Model.Tables)
            {
                <LI>
                    <OBJECT type="text/sitemap">
                        <param name="Name" value="@tab.TableName">
                        <param name="Local" value="table\@(tab.TableName + " " + tab.Comment).html">
                        <param name="ImageNumber" value="11">
                    </OBJECT>
                </LI>
                //hhk文件不能太大，不然hhc编译时，会报提示 ：An internal error has occurred.An error record has been saved to .. 
                //https://documentation.red-gate.com/sdoc5/troubleshooting/error-messages/assertion-failure-outputting-in-chm-format
            }
        }

        @if (Model.Views != null && Model.Views.Count > 0)
        {
            foreach (var item in Model.Views)
            {
                <LI>
                    <OBJECT type="text/sitemap">
                        <param name="Name" value="@item.ObjectName">
                        <param name="Local" value="view\@(item.ObjectName).html">
                        <param name="ImageNumber" value="11">
                    </OBJECT>
                </LI>
            }
        }


        @if (Model.Procs != null && Model.Procs.Count > 0)
        {
            foreach (var item in Model.Procs)
            {
                <LI>
                    <OBJECT type="text/sitemap">
                        <param name="Name" value="@item.ObjectName">
                        <param name="Local" value="proc\@(item.ObjectName).html">
                        <param name="ImageNumber" value="11">
                    </OBJECT>
                </LI>
            }
        }

    </UL>
</BODY>
</HTML>
